package com.freshman_registration.pojo;


import cn.hutool.core.annotation.Alias;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;


@Data
public class Admins {
    @Alias("编号")
    private Integer id;
    @Alias("用户名")
    private String username;
    @Alias("密码")
    private String password;
    @Alias("电话号码")
    private String phone;
    @Alias("照片")
    private String photo;
    @Alias("所属部门")
    private String department;
    @Alias("状态")
    private String status;
    @Alias("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;//创建时间
    @Alias("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;//更新时间
    @Alias("工号")
    private String workNo;
}
